package org.cmg.study.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author CMG
 * @version 1.0
 * @cLassName MainApp8
 * @description
 * @date 2021/9/1 9:55
 **/
public class MainApp8 {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");
        UserController controller = (UserController) context.getBean("userController");
        controller.outContent();
    }
}
